<meta http-equiv = "content-type" content = "text/html; charset = UTF-8">
<?php
	session_start();
	include('conn.php');
	if(isset($_GET['id']))
	{
	    $id=$_GET['id'];
		$sql="DELETE FROM content WHERE id=$id";
		$query=mysql_query($sql);
		if($query)
		{
			echo "<script>alert('留言删除成功！');history.go(-1);</script>";
		}
		else
		{ 
			echo"<script>alert('留言删除失败，请重试！');history.go(-1);</script>";
		}
	}
?>